<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>文档管理</title>
<link rel="stylesheet" type="text/css" href="/dadaocms/Public/css/base.css">
<script language="javascript" src="/dadaocms/Public/js/base.js"></script>
</head>
<body leftmargin="8" topmargin="8" background='/kefu/public/images/allbg.gif'>

<!--  快速转换位置按钮  -->
<table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA" align="center">
<tr>
 <td width="37%" height="26" background="/kefu/public/images/newlinebg3.gif">
&nbsp; <IMG height=14 src="/dadaocms/Public/images/frame/book1.gif" width=20>&nbsp;<a href="{:U('/Admin/Zixun/index')}">文章列表管理</a></td>
<td width="63%" height="26" background="/kefu/public/images/newlinebg3.gif">
    <input type='button' class="coolbg np"  onClick="winopen('{:U('/Admin/Archive/add',array('typeid'=>I('get.typeid',0)))}','add',1000,650)" value='增加文章' />

</td>
</tr>
</table>
  
<!--  内容列表   -->
<form action="{:U('Admin/Archive/delall')}" method="get" name="form2">

<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
<tr bgcolor="#E7E7E7">
	<td height="24" colspan="10" background="/kefu/public/images/tbg.gif">&nbsp;文章列表</td>
</tr>
<tr align="center" bgcolor="#FAFAF1" height="22">
	<td width="9%">ID</td>
	<td width="48%">文章标题</td>
	<td width="14%">栏目名称</td>
	<td width="29%">操作</td>
</tr>
<volist name="list" id="vo">
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22" >
	<td><input type="checkbox" name="id[]" value="{$vo.id}" id="id">
	  {$vo.id}</td>
	<td><span class="coolbg" onClick="winopen('__URL__/edit/id/{$vo.id}/channelid/{$vo.channelid}/typeid/{$vo["typeid"]}','edit',1000,650)">{$vo.title}</span></td>
	<td align="center"><a href="{:U('Admin/Zixun/index',array('typeid'=>$vo['typeid']))}"><u>{$vo.typename}</u></a></td>
	<td><a href="{:U('Home/Archive/index',array('id'=>$vo['id']))}" target="_blank" class="coolbg">预览</a>&nbsp;&nbsp;<span class="coolbg" onClick="winopen('__URL__/edit/id/{$vo.id}/channelid/{$vo.channelid}','edit',1000,650)">编辑</span>&nbsp;&nbsp;<a href="{:U('Admin/Archive/del',array('id'=>$vo['id']))}" onClick="return confirm('确定删除此栏目吗');" class="coolbg">删除</a></td>
</tr>
</volist>

<tr bgcolor="#FAFAF1">
<td height="28" colspan="10"> &nbsp;
  <input type="submit" name="button" id="button" value="删除">
	
	</td>
</tr>
<tr align="right" bgcolor="#EEF4EA">
	<td height="36" colspan="10" align="center"><!--翻页代码 -->{$page}</td>
</tr>
</table>

</form>

<!--  搜索表单  -->
<form name='form3' action='' method='get' style="">
<table width='98%'  border='0' cellpadding='1' cellspacing='1' bgcolor='#CBD8AC' align="center" style="margin-top:8px">
  <tr bgcolor='#EEF4EA'>
    <td background='/kefu/public/images/wbg.gif' align='center'>
      <table width="740" border='0' cellpadding='0' cellspacing='0'>
        <tr>
          <td width='104' align='center'>文章栏目：</td>
          <td width='210'>
          <select name='typeid' style='width: 200px' id="typeid">
          	<option value='0'>选择栏目...</option>
            <volist name="type" id="vo">                
            <option value="{$vo.id}" <if condition="$vo.id eq $_GET['typeid']">selected</if> >                  
            | {$vo.Count|str_repeat='----',###}<neq name="vo.Count" value="1">| -- </neq>{$vo.typename}</option>
            </volist>
          </select>
        </td>
        <td width='82'>
          标题关键字：
        </td>
        <td width='170'>
          	<input type='text' name='title' value="<php>echo I('get.title');</php>" style='width:150px' id="title" />
        </td>
        <td width='96'>
    		<select name='order' style='width:80px' id="order">            
            <option value='id' <if condition="(!$_GET['order']) OR ($_GET['order'] eq 'id')">selected</if>>排序...</option>
            <option value='pubdate'<if condition="($_GET['order'] eq 'pubdate')">selected</if>>发布时间</option>
            
      	</select>
        </td>
        <td width="111">
          <input name="imageField" type="image" src="/dadaocms/Public/images/frame/search.gif" width="45" height="20" border="0" class="np" />
        </td>
       </tr>
      </table>
    </td>
  </tr>
</table>
</form>
</body>
</html>